﻿namespace Common.Windows
{
    using System;

    public enum Message
    {
        bm_click = 0xf5,
        bm_getcheck = 240,
        bm_getimage = 0xf6,
        bm_getstate = 0xf2,
        bm_setcheck = 0xf1,
        bm_setimage = 0xf7,
        bm_setstate = 0xf3,
        bm_setstyle = 0xf4,
        mn_gethmenu = 0x1e1,
        wm_activate = 6,
        wm_activateapp = 0x1c,
        wm_afxfirst = 0x360,
        wm_afxlast = 0x37f,
        wm_appcommand = 0x319,
        wm_askcbformatname = 780,
        wm_canceljournal = 0x4b,
        wm_cancelmode = 0x1f,
        wm_capturechanged = 0x215,
        wm_changecbchain = 0x30d,
        wm_changeuistate = 0x127,
        wm_char = 0x102,
        wm_chartoitem = 0x2f,
        wm_childactivate = 0x22,
        wm_clear = 0x303,
        wm_close = 0x10,
        wm_command = 0x111,
        wm_compacting = 0x41,
        wm_compareitem = 0x39,
        wm_contextmenu = 0x7b,
        wm_copy = 0x301,
        wm_copydata = 0x4a,
        wm_create = 1,
        wm_ctlcolorbtn = 0x135,
        wm_ctlcolordlg = 310,
        wm_ctlcoloredit = 0x133,
        wm_ctlcolorlistbox = 0x134,
        wm_ctlcolormsgbox = 0x132,
        wm_ctlcolorscrollbar = 0x137,
        wm_ctlcolorstatic = 0x138,
        wm_cut = 0x300,
        wm_deadchar = 0x103,
        wm_deleteitem = 0x2d,
        wm_destroy = 2,
        wm_destroyclipboard = 0x307,
        wm_devicechange = 0x219,
        wm_devmodechange = 0x1b,
        wm_displaychange = 0x7e,
        wm_drawclipboard = 0x308,
        wm_drawitem = 0x2b,
        wm_dropfiles = 0x233,
        wm_enable = 10,
        wm_endsession = 0x16,
        wm_enteridle = 0x121,
        wm_entermenuloop = 0x211,
        wm_entersizemove = 0x231,
        wm_erasebkgnd = 20,
        wm_exitmenuloop = 530,
        wm_exitsizemove = 0x232,
        wm_fontchange = 0x1d,
        wm_getdlgcode = 0x87,
        wm_getfont = 0x31,
        wm_gethotkey = 0x33,
        wm_geticon = 0x7f,
        wm_getminmaxinfo = 0x24,
        wm_getobject = 0x3d,
        wm_gettext = 13,
        wm_gettextlength = 14,
        wm_handheldfirst = 0x358,
        wm_handheldlast = 0x35f,
        wm_help = 0x53,
        wm_hotkey = 0x312,
        wm_hscroll = 0x114,
        wm_hscrollclipboard = 0x30e,
        wm_iconerasebkgnd = 0x27,
        wm_ime_char = 0x286,
        wm_ime_composition = 0x10f,
        wm_ime_compositionfull = 0x284,
        wm_ime_control = 0x283,
        wm_ime_endcomposition = 270,
        wm_ime_keydown = 0x290,
        wm_ime_keyup = 0x291,
        wm_ime_notify = 0x282,
        wm_ime_request = 0x288,
        wm_ime_select = 0x285,
        wm_ime_setcontext = 0x281,
        wm_ime_startcomposition = 0x10d,
        wm_initdialog = 0x110,
        wm_initmenu = 0x116,
        wm_initmenupopup = 0x117,
        wm_input = 0xff,
        wm_inputlangchange = 0x51,
        wm_inputlangchangerequest = 80,
        wm_keydown = 0x100,
        wm_keyup = 0x101,
        wm_killfocus = 8,
        wm_lbuttondblclk = 0x203,
        wm_lbuttondown = 0x201,
        wm_lbuttonup = 0x202,
        wm_mbuttondblclk = 0x209,
        wm_mbuttondown = 0x207,
        wm_mbuttonup = 520,
        wm_mdiactivate = 0x222,
        wm_mdicascade = 0x227,
        wm_mdicreate = 0x220,
        wm_mdidestroy = 0x221,
        wm_mdigetactive = 0x229,
        wm_mdiiconarrange = 0x228,
        wm_mdimaximize = 0x225,
        wm_mdinext = 0x224,
        wm_mdirefreshmenu = 0x234,
        wm_mdirestore = 0x223,
        wm_mdisetmenu = 560,
        wm_mditile = 550,
        wm_measureitem = 0x2c,
        wm_menuchar = 0x120,
        wm_menucommand = 0x126,
        wm_menudrag = 0x123,
        wm_menugetobject = 0x124,
        wm_menurbuttonup = 290,
        wm_menuselect = 0x11f,
        wm_mouseactivate = 0x21,
        wm_mousehover = 0x2a1,
        wm_mouseleave = 0x2a3,
        wm_mousemove = 0x200,
        wm_mousewheel = 0x20a,
        wm_move = 3,
        wm_moving = 0x216,
        wm_ncactivate = 0x86,
        wm_nccalcsize = 0x83,
        wm_nccreate = 0x81,
        wm_ncdestroy = 130,
        wm_nchittest = 0x84,
        wm_nclbuttondblclk = 0xa3,
        wm_nclbuttondown = 0xa1,
        wm_nclbuttonup = 0xa2,
        wm_ncmbuttondblclk = 0xa9,
        wm_ncmbuttondown = 0xa7,
        wm_ncmbuttonup = 0xa8,
        wm_ncmousehover = 0x2a0,
        wm_ncmouseleave = 0x2a2,
        wm_ncmousemove = 160,
        wm_ncpaint = 0x85,
        wm_ncrbuttondblclk = 0xa6,
        wm_ncrbuttondown = 0xa4,
        wm_ncrbuttonup = 0xa5,
        wm_ncxbuttondblclk = 0xad,
        wm_ncxbuttondown = 0xab,
        wm_ncxbuttonup = 0xac,
        wm_nextdlgctl = 40,
        wm_nextmenu = 0x213,
        wm_notify = 0x4e,
        wm_notifyformat = 0x55,
        wm_null = 0,
        wm_paint = 15,
        wm_paintclipboard = 0x309,
        wm_painticon = 0x26,
        wm_palettechanged = 0x311,
        wm_paletteischanging = 0x310,
        wm_parentnotify = 0x210,
        wm_paste = 770,
        wm_penwinfirst = 0x380,
        wm_penwinlast = 0x38f,
        wm_power = 0x48,
        wm_powerbroadcast = 0x218,
        wm_print = 0x317,
        wm_printclient = 0x318,
        wm_querydragicon = 0x37,
        wm_queryendsession = 0x11,
        wm_querynewpalette = 0x30f,
        wm_queryopen = 0x13,
        wm_queryuistate = 0x129,
        wm_queuesync = 0x23,
        wm_quit = 0x12,
        wm_rbuttondblclk = 0x206,
        wm_rbuttondown = 0x204,
        wm_rbuttonup = 0x205,
        wm_renderallformats = 0x306,
        wm_renderformat = 0x305,
        wm_setcursor = 0x20,
        wm_setfocus = 7,
        wm_setfont = 0x30,
        wm_sethotkey = 50,
        wm_seticon = 0x80,
        wm_setredraw = 11,
        wm_settext = 12,
        wm_showwindow = 0x18,
        wm_size = 5,
        wm_sizeclipboard = 0x30b,
        wm_sizing = 0x214,
        wm_spoolerstatus = 0x2a,
        wm_stylechanged = 0x7d,
        wm_stylechanging = 0x7c,
        wm_syncpaint = 0x88,
        wm_syschar = 0x106,
        wm_syscolorchange = 0x15,
        wm_syscommand = 0x112,
        wm_sysdeadchar = 0x107,
        wm_syskeydown = 260,
        wm_syskeyup = 0x105,
        wm_tablet_first = 0x2c0,
        wm_tablet_last = 0x2df,
        wm_tcard = 0x52,
        wm_themechanged = 0x31a,
        wm_timechange = 30,
        wm_timer = 0x113,
        wm_undo = 0x304,
        wm_unichar = 0x109,
        wm_uninitmenupopup = 0x125,
        wm_updateuistate = 0x128,
        wm_userchanged = 0x54,
        wm_vkeytoitem = 0x2e,
        wm_vscroll = 0x115,
        wm_vscrollclipboard = 0x30a,
        wm_windowposchanged = 0x47,
        wm_windowposchanging = 70,
        wm_wininichange = 0x1a,
        wm_wtssession_change = 0x2b1,
        wm_xbuttondblclk = 0x20d,
        wm_xbuttondown = 0x20b,
        wm_xbuttonup = 0x20c
    }
}

